package com.aoxin.service.inter.course.webCourse;

import java.util.List;
import java.util.Map;

import com.aoxin.model.course.SlfClass;

public interface ClassService {

    /**
     * 通过班级ID删除班级
     * @param classId
     * @return
     */
    Integer deleteClassById(Integer classId);


    /**
     * 批量删除班级
     * @param classIds
     * @return
     */
    Integer deleteClass(List<Integer> classIds);

    /**
     *新增班级
     * @param slfClass
     * @return
     */
    Integer insertClass(SlfClass slfClass) throws IllegalAccessException;


    /**
     * 查询全部班级|通过输入条件查询班级
     * @param slfClass
     * @return
     */
    List<SlfClass> getClasses(Map<String,Object> map);

    /**
     * 修改班级
     * @param slfClass
     * @return
     */
    Integer updateClass(SlfClass slfClass) throws IllegalAccessException;
}
